package it.pecuswap.client.rest.service;

import it.pecuswap.client.rest.ClientProvider;
import it.pecuswap.commons.client.rest.interfaces.ConfigurazioneServiceInterface;
import it.pecuswap.commons.exceptions.PecuswapRestException;
import it.pecuswap.exceptions.ConfigurationException;

import java.util.Properties;

public class ConfigurazioneServiceClient extends ClientProvider implements
		ConfigurazioneServiceInterface {
	
	private ConfigurazioneServiceInterface configurazioneServiceInterface = null;

	public ConfigurazioneServiceClient() throws ConfigurationException{
		configurazioneServiceInterface = super.serviceClientInterfaceProvider(ConfigurazioneServiceInterface.class);
	}

	@Override
	public Properties getProperties() throws PecuswapRestException {
		return configurazioneServiceInterface.getProperties();
	}

}
